//
//  YZChargeDefaultsModel.m
//  raceme
//
//  Created by mac on 2021/9/11.
//

#import "YZChargeDefaultsModel.h"


@implementation YZChargeDefaultsModel
- (void)encodeWithCoder:(NSCoder *)coder {
    [coder encodeObject:self.receipt forKey:@"receipt"];
    [coder encodeObject:self.orderId forKey:@"orderId"];
}

-(id)initWithCoder:(NSCoder *)coder {
    self = [super init];
    if (self != nil) {
        self.receipt = [coder decodeObjectForKey:@"receipt"];
        self.orderId = [coder decodeObjectForKey:@"orderId"];
    }
    return self;
}
@end
